Class FlowImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.FlowImpl
All Implemented Interfaces:
IPCObject, Flow

public class FlowImpl extends IPCObjectImpl implements Flow
Information provided by the PKI file:

    \class Flow
    
    \brief Flow holds and manipulates the flow routes in FlowTable objects.
    
    \example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0).getTableAtIndex(0).getFlowAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getPeerCount

      public int getPeerCount()
      Information provided by the PKI file:
      
          \brief Returns the number of peers.
          
          \return int, the number of peers.
          
              
      Specified by:
      getPeerCount in interface Flow
      Returns:
      int Returns a int
    • getPeerAt

      public IPsecPeer getPeerAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the peer at the specified index.
          
          \param index, the index of the peer of interest.
          
          \return IpsecPeer, the IpsecPeer object at the specified index.
          
              
      Specified by:
      getPeerAt in interface Flow
      Parameters:
      index - Takes in a parameter of index
      Returns:
      IPsecPeer Returns a IPsecPeer
    • getPeerByIp

      public IPsecPeer getPeerByIp(IPAddress addr)
      Information provided by the PKI file:
      
          \brief Returns the peer with the specified IP address.
          
          \param addr, the IP address of the peer of interest.
          
          \return IpsecPeer, the IpsecPeer object with the specified IP address.
          
              
      Specified by:
      getPeerByIp in interface Flow
      Parameters:
      addr - Takes in a parameter of addr
      Returns:
      IPsecPeer Returns a IPsecPeer